
run-cli:
	@haxe -cp common -cp cli -main Game.hx -neko build/cli.n -D cli
	@neko build/cli.n
	@rm build/cli.n

run-linux: build-linux
	@echo ""
	@cd build/linux/bin/ && ./SuperBulletHeck

run-web:
	lime test html5

build-cli:
	haxe -cp common -cp cli -main Game.hx -cpp build/cli -D cli
	-mkdir build/cli/bin/
	mv build/cli/Game build/cli/bin/SuperBulletHeck

# Cross-compilation isn't well supported - Windows/Mac builds need to be done
# on their respective machines Or we can just point people to the web version.
build-linux:
	-lime build linux
	cp build/linux/obj/ApplicationMain build/linux/bin/SuperBulletHeck

build-web:
	lime build html5 -minify
